<!--
 * @Descripttion: 
 * @version: 
 * @Author: Jun
 * @Date: 2021-06-04 14:43:48
 * @LastEditors: Jun
 * @LastEditTime: 2021-06-04 16:29:43
-->
<template>
  <el-dialog title="提示" :visible.sync="dialogVisible" width="30%" :before-close="close">
        <div>
          <span>请填写:</span>
          <span v-for="(item, idx) of validatorArray" :key="item.id">
            {{ idx === 0 ? "" : "、" }}
            {{ item.ndsib }}
          </span>
        </div>
        <span slot="footer" class="dialog-footer">
          <el-button @click="close">取 消</el-button>
        </span>
      </el-dialog>
</template>

<script>
export default {
    props:{
        dialogVisible:{
            type:Boolean,
            required:true
        },
        validatorArray:{
            type:Array,
            required:true
        }
    },
    methods:{
        close(){
            this.$emit("update:dialogVisible",false)
        }
    }
}
</script>

<style>

</style>